package com.jingdianjichi.practice.server.mapper;

import com.jingdianjichi.practice.server.entity.po.LabelCountPO;
import com.jingdianjichi.practice.server.entity.po.SubjectMappingPO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * ClassName:SubjectLabelDao
 * Package:com.jingdianjichi.practice.server.mapper
 * Description:
 *
 * @Author fst
 * @Create 2025/1/17 21:11
 * @Version 1.0
 */
public interface SubjectMappingDao
{

    List<LabelCountPO> getLabelSubjectCount(@Param("categoryId") Long categoryId,
                                            @Param("subjectTypeList") List<Integer> subjectTypeList);

    List<SubjectMappingPO> selectBySubjectId(Long subjectId);

    List<SubjectMappingPO> getLabelIdsBySubjectId(Long subjectId);
}